package com.lagou.controller;

import com.lagou.service.AuthCodeService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("")
public class TestController {

    @Reference
    private AuthCodeService authCodeService;

    @GetMapping("/test")
    public int test(){
        return authCodeService.test();
    }
}
